package org.dream.persistence;

import java.util.List;

import org.dream.domain.Daydeal;
import org.dream.domain.RisewidthResult;

/**
 * 
 * @author qiuriyuchen E-mail:panpan_001@126.com
 */
public interface DayDealDAO {
	/**
	 * 查找超过涨幅的股票
	 * 
	 * @param date
	 * @param zf
	 * @return
	 */
	public List<Daydeal> findOverZf(String date, double zf);

	/**
	 * 查找接下来几天的行情
	 * 
	 * @param day
	 * @param code
	 * @return
	 */
	public List<Daydeal> findAfterDaydeal(String day, String code);

	/**
	 * 统计涨停股票
	 * 
	 * @param day
	 * @param code
	 * @return
	 */
	public List<RisewidthResult> calRisewidthResult(Double riseWidth);
	public void clearDaydeals();
}
